package cn.fsd.exception;

import cn.fsd.expection.AppExceptionCodeMsg;

public enum StoreroomExceptionCodeMsg implements AppExceptionCodeMsg {

    STOREROOM_FULL_TRANSFER_IN(40001,"调拨入库量大于可用库存，不能入库"),
    STOREROOM_FULL_EXCHANGE_CHECKIN(40002,"退货登记量大于可用库存，不能入库"),
    STOREROOM_FULL_EXCHANGE_IN(40002,"退货量大于可用库存，不能入库");


    private final Integer code;
    private final String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    StoreroomExceptionCodeMsg(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
